<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="icon" th:href="@{/ico/李白背影图像.ico}">
    <link rel="stylesheet" href="/css/index.css">
    <!-- <script src="/js/index.js"></script> -->
    <meta charset="UTF-8">
    <title>MySQL Data</title>
</head>
<body>
<h1>数据如下</h1>
<a href="/createtable">点击添加表</a><br>
<a href="/deletetable">点击删除表</a>
<ul>
    <!-- 使用 th:each 遍历传入的表名列表 -->
    <li th:each="tableName : ${tableNames}">
        <a th:href="'/table?name='+${tableName}" th:text="${tableName}"></a>
    </li>
</ul>
</body>
</html>
